<template>
    <el-container>
        <el-header>{{ username }}，欢迎您登录。
        </el-header>
        <el-container>
            <el-aside>
                <Aside />
            </el-aside>
            <el-main>
                <router-view />
            </el-main>
        </el-container>
    </el-container>

    
</template>

<script>
import Aside from '../components/Aside.vue'
export default {
    components: {
        Aside
    },
    data() {
        return {
            dirName: '',
        }
    },
    computed: {
        username() {
            return this.$store.getters.getLoginUser.username;
        }
    },
    methods: {
        
    }
}
</script>

<style scoped>
.el-header {
    text-align: right;
}
</style>